home *** CD-ROM | disk | FTP | other *** search
- -- background: 2697 from stack: in
- -- bmap block id: 3779
- -- flags: 0000
- -- background id: 0
- -- name:
- ----- HyperTalk script -----
- on openStack
- set textFont of background button "Otvet" to Moscow
- hide message box
- hide field 2
- show menuBar
- pass openStack
- end openStack
-
-
-
- -- part 9 (button)
- -- low flags: 00
- -- high flags: 0000
- -- rect: left=228 top=298 right=321 bottom=254
- -- title width / last selected line: 0
- -- icon id / first selected line: 1014 / 1014
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Prev
- ----- HyperTalk script -----
- on mouseUp
- hide field 2
- visual effect scroll right
- go to prev card
- end mouseUp
-
-
-
- -- part 16 (field)
- -- low flags: 01
- -- high flags: 0002
- -- rect: left=37 top=122 right=207 bottom=237
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 0
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name:
-
-
- -- part 17 (field)
- -- low flags: 81
- -- high flags: 0004
- -- rect: left=162 top=215 right=300 bottom=362
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 0
- -- font id: 0
- -- text size: 12
- -- style flags: 256
- -- line height: 16
- -- part name:
- ----- HyperTalk script -----
- on mouseUp
- hide field 2
- end mouseUp
-
-
-
-
- -- part 18 (button)
- -- low flags: 00
- -- high flags: A003
- -- rect: left=392 top=211 right=265 bottom=434
- -- title width / last selected line: 0
- -- icon id / first selected line: 14767 / 14767
- -- text alignment: 1
- -- font id: 129
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Answer
- ----- HyperTalk script -----
- on mouseUp
- show field 2
- end mouseUp
-
-
-
-
-
- -- part 20 (field)
- -- low flags: 00
- -- high flags: 4004
- -- rect: left=279 top=121 right=206 bottom=479
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 0
- -- font id: 3
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name:
-
-
- -- part 22 (button)
- -- low flags: 00
- -- high flags: 0000
- -- rect: left=17 top=31 right=66 bottom=53
- -- title width / last selected line: 0
- -- icon id / first selected line: 20098 / 20098
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Home Button
- ----- HyperTalk script -----
- on mouseUp
- go home
- end mouseUp
-
-
-
- -- part 30 (button)
- -- low flags: 00
- -- high flags: 0000
- -- rect: left=256 top=298 right=321 bottom=281
- -- title width / last selected line: 0
- -- icon id / first selected line: 1013 / 1013
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Next
- ----- HyperTalk script -----
- on mouseUp
- put word 1 of field 3 into newString
- put 1 into numStudentWords
- put 2 into X
- put " " into nextWord
- repeat while nextWord <> ""
- put word X of field 3 into nextWord
- if nextWord is empty then exit repeat
- put newString && word X of field 3 into newString
- put numStudentWords + 1 into numStudentWords
- put X + 1 into X
- end repeat
- put newString into Student
-
- put word 1 of field 2 into newString
- put 1 into numCorrectWords
- put 2 into X
- put " " into nextWord
- repeat while nextWord <> ""
- put word X of field 2 into nextWord
- if nextWord is empty then exit repeat
- put newString && word X of field 2 into newString
- put numCorrectWords + 1 into numCorrectWords
- put X + 1 into X
- end repeat
- put newString into Correct
-
- if correct = student
- then answer "That is correct" with "OK"
- else answer "That is wrong" with "Try Again" or "OK"
- if It = "Try Again"
- then exit mouseUp
- visual effect scroll left
- hide field 2
- go to next card
- tabKey
- end mouseUp
-
-
-